# cmake needs this line
cmake_minimum_required(VERSION 3.10)

# Define project name
project(MatplotlibDemo)

# Enable C++14
# compile features
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)

# macros
add_definitions(-DUNICODE -D_UNICODE)

find_package(Python3 COMPONENTS Development NumPy)
include_directories(${Python3_INCLUDE_DIRS}
    ${Python3_NumPy_INCLUDE_DIRS})
set(matplotlib_cpp Python3::Python Python3::NumPy)

add_executable(minimal minimal.cpp)
target_link_libraries(minimal PRIVATE ${matplotlib_cpp})
